package com.nit.lab.dto.basic;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @文件名：TeacherDTO
 * @创建人: wangsheng
 * @创建时间: 2020/3/14
 * @描述:
 */
public class TeacherDTO {
    private Long key;

    private Long teacherId;

    private String teacherCode;

    private String teacherPwd;

    private String teacherName;

    private String teacherPhone;

    private String teacherInfo;

    private Integer roleId;

    private Long schoolId;

    private String schoolName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;

    private Date gmtModified;

    public TeacherDTO() {
    }

    public TeacherDTO(Long key, Long teacherId, String teacherCode,
                      String teacherPwd, String teacherName, String teacherPhone,
                      String teacherInfo, Integer roleId, Long schoolId, Date gmtCreate, Date gmtModified) {
        this.key = key;
        this.teacherId = teacherId;
        this.teacherCode = teacherCode;
        this.teacherPwd = teacherPwd;
        this.teacherName = teacherName;
        this.teacherPhone = teacherPhone;
        this.teacherInfo = teacherInfo;
        this.roleId = roleId;
        this.schoolId = schoolId;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
    }

    public Long getKey() {
        return key;
    }

    public void setKey(Long key) {
        this.key = key;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherCode() {
        return teacherCode;
    }

    public void setTeacherCode(String teacherCode) {
        this.teacherCode = teacherCode;
    }

    public String getTeacherPwd() {
        return teacherPwd;
    }

    public void setTeacherPwd(String teacherPwd) {
        this.teacherPwd = teacherPwd;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getTeacherPhone() {
        return teacherPhone;
    }

    public void setTeacherPhone(String teacherPhone) {
        this.teacherPhone = teacherPhone;
    }

    public String getTeacherInfo() {
        return teacherInfo;
    }

    public void setTeacherInfo(String teacherInfo) {
        this.teacherInfo = teacherInfo;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }
}
